/*
 * @Descripttion: 
 * @version: 
 * @Author: Liu ZiJie
 * @Date: 2022-08-09 22:46:25
 * @LastEditors: Liu ZiJie
 * @LastEditTime: 2022-08-09 23:05:18
 */
import { request } from '@/utils/request'
// 注册接口
export function setRegister(data) {
    return request({
        url: '/xiaomi/v2/ms/user/register',
        method: 'POST',
        headers:{isToken:false},
        data
    })
}

// 登录接口
export function login(data) {
    return request({
        url: '/xiaomi/v2/ms/user/login',
        method: 'POST',
        headers:{isToken:false},
        data
    })
}

export function getUserInfo(){
    return request({
        url: '/xiaomi/v2/ms/user/info',
        method:'GET',
    })
}